package com.fnzn.entranceGuard.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

@Configuration
public class WebConfig extends WebMvcConfigurerAdapter {
/*    @Override
    public void addResourceHandlers(ResourceHandlerRegistry registry) {
        //对外暴漏的地址
    	registry.addResourceHandler("static/**")
        //文件放置的目录
        .addResourceLocations("classpath:/static/*");
    	super.addResourceHandlers(registry);
    }*/
}
